Interface AuthenticationServiceInterface

Summary

Fully Qualified Name: Zend\Authentication\AuthenticationServiceInterface

Description

Provides an API for authentication and identity management

Methods

Name Description Defined By
authenticate() Authenticates and provides an authentication result AuthenticationServiceInterface
clearIdentity() Clears the identity AuthenticationServiceInterface
getIdentity() Returns the authenticated identity or null if no identity is available AuthenticationServiceInterface
hasIdentity() Returns true if and only if an identity is available AuthenticationServiceInterface

Method Details

authenticate()

Authenticates and provides an authentication result

Returns: \Result

clearIdentity()

Clears the identity

Returns: void

getIdentity()

Returns the authenticated identity or null if no identity is available

Returns: mixed|null

hasIdentity()

Returns true if and only if an identity is available

Returns: bool

Top